var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        im.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        im.dispose()
    } else {
        if (status === a++) {
            im.forceStartQuest(63087, "");
            im.sendNormalTalk("#b咦？这些熟悉的轮廓……！", 2, 0, false, false);
            im.gainItem(1202237, 1);
            im.gainItem(1202238, 1);
            im.gainItem(1202239, 1);
            im.gainItem(1202240, 1);
            im.gainItem(2436114, -1)
        } else {
            if (status === a++) {
                im.dispose()
            }
        }
    }
};